[INFO] fetching crate postgres-extension 0.1.1...
[INFO] testing postgres-extension-0.1.1 against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796
[INFO] extracting crate postgres-extension 0.1.1 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate postgres-extension 0.1.1 on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate postgres-extension 0.1.1
[INFO] finished tweaking crates.io crate postgres-extension 0.1.1
[INFO] tweaked toml for crates.io crate postgres-extension 0.1.1 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ecc9d4f35c51eeeddc116f6d04603c493e47b519c1ca7bdfbbe5ae97a4dc3cd4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ecc9d4f35c51eeeddc116f6d04603c493e47b519c1ca7bdfbbe5ae97a4dc3cd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ecc9d4f35c51eeeddc116f6d04603c493e47b519c1ca7bdfbbe5ae97a4dc3cd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecc9d4f35c51eeeddc116f6d04603c493e47b519c1ca7bdfbbe5ae97a4dc3cd4", kill_on_drop: false }`
[INFO] [stdout] ecc9d4f35c51eeeddc116f6d04603c493e47b519c1ca7bdfbbe5ae97a4dc3cd4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 133a6ed3e1aec2c8b94a3399fcb9d916e805bc3063eb7293241a459b69cc0c47
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "133a6ed3e1aec2c8b94a3399fcb9d916e805bc3063eb7293241a459b69cc0c47", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling postgres-extension v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/executor/spi.rs:64:36
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub const SPI_OPT_NONATOMIC: i32 = (1 << 0);
[INFO] [stdout]    |                                    ^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/utils/elog.rs:44:53
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let cfilename = CString::new(filename).unwrap().as_ptr();
[INFO] [stdout]    |                     ------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.86s
[INFO] running `Command { std: "docker" "inspect" "133a6ed3e1aec2c8b94a3399fcb9d916e805bc3063eb7293241a459b69cc0c47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "133a6ed3e1aec2c8b94a3399fcb9d916e805bc3063eb7293241a459b69cc0c47", kill_on_drop: false }`
[INFO] [stdout] 133a6ed3e1aec2c8b94a3399fcb9d916e805bc3063eb7293241a459b69cc0c47
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee7615e4be31a9b33f33620aea7dd8919fabfa320e3e623bdf36ddd6d8ddec4b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ee7615e4be31a9b33f33620aea7dd8919fabfa320e3e623bdf36ddd6d8ddec4b", kill_on_drop: false }`
[INFO] [stderr]    Compiling postgres-extension v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/executor/spi.rs:64:36
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub const SPI_OPT_NONATOMIC: i32 = (1 << 0);
[INFO] [stdout]    |                                    ^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/utils/elog.rs:44:53
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let cfilename = CString::new(filename).unwrap().as_ptr();
[INFO] [stdout]    |                     ------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/executor/spi.rs:64:36
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub const SPI_OPT_NONATOMIC: i32 = (1 << 0);
[INFO] [stdout]    |                                    ^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/utils/elog.rs:44:53
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let cfilename = CString::new(filename).unwrap().as_ptr();
[INFO] [stdout]    |                     ------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `postgres-extension`
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40" "/opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.2z1zfgani5l3iotl.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-e0d08a82dcb7da7b.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-24036eb8e889985c.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-759d40b5d9a6a451.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-7590543c881e6235.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-56b60793e4f96438.rlib" "/opt/rustwide/target/debug/deps/liblibc-bf3c813b97648297.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c6dddd3d354e6bea.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-c2ca47afdcc5e309.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-b47be2942017e108.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-20a1e49116ab0df9.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-25e09d9868291683.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9c99fb6e5ca5159e.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-85040d7563599960.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0e4f7587da8acf20.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7be0a6711ed15b5c.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-00672fabc4ff9c9d.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-72fe231ef0473d15.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-019d54ecc304b655.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-cc7d9343e4f608be.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e41c6d24baeb2249.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9849bb0fbad7f0f5.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a1fd7734706d5518.rlib" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-c8ded1707ad10767.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/46592174fb13958bb9a2aa0d7af6c1224e1d7143/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b33f9cbbc9652fe.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.11.rcgu.o: in function `<postgres_extension::rust_utils::PostgresAllocator as core::alloc::global::GlobalAlloc>::alloc':
[INFO] [stdout]           /opt/rustwide/workdir/src/rust_utils.rs:93: undefined reference to `CurrentMemoryContext'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/workdir/src/rust_utils.rs:92: undefined reference to `MemoryContextAlloc'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/postgres_extension-c8382581b3e6ca40.postgres_extension.59fvqxjy-cgu.11.rcgu.o: in function `<postgres_extension::rust_utils::PostgresAllocator as core::alloc::global::GlobalAlloc>::dealloc':
[INFO] [stdout]           /opt/rustwide/workdir/src/rust_utils.rs:96: undefined reference to `pfree'
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "ee7615e4be31a9b33f33620aea7dd8919fabfa320e3e623bdf36ddd6d8ddec4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee7615e4be31a9b33f33620aea7dd8919fabfa320e3e623bdf36ddd6d8ddec4b", kill_on_drop: false }`
[INFO] [stdout] ee7615e4be31a9b33f33620aea7dd8919fabfa320e3e623bdf36ddd6d8ddec4b
